package cn.edu.klmy.dao;

import cn.edu.klmy.models.classroom.Classroom;

import java.util.List;
import java.util.Map;

public interface IClassroomDao {
	void addClassroom(Classroom classroom);

	void removeClassroom(int classroomId);

	void updateClassroom(Classroom classroom);

	Classroom getClassroom(int classroomId);

	boolean classroomExists(String classroomLocation);

	List<Classroom> getClassrooms(Map<String, Object[]> filter, int pageNum,
			int pageSize);

	int getClassroomCount(Map<String, Object[]> filter);

	List<Classroom> getAllClassroom();
}
